<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>登陆成功</title>
</head>
<body>
<?php
session_start(); //开启session
if (isset($_SESSION['username']) && isset($_SESSION['pwd'])) {
	echo "欢迎您，" . $_SESSION['username'];
} else {
	header("location:login.php");
}

?>
</body>
</html>